package com.lwc.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Configuration
public class rabbitconfig {

    @Bean
    public Queue  queue(){
        return  new Queue("hello");
    }

}
